home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Games Collection 1 / software vault.zip / software vault / CDR02 / DCGAMES1.ZIP / NEWGAME.ZIP / HOSTILE.SCR < prev    next >
Text File  |  1993-04-01  |  750b  |  25 lines

  1. !
  2. ! File: HOSTILE.SCR
  3. !
  4. ! Default hostile (monster) script..
  5. !
  6. ! (c) DC Software, 1992
  7. !
  8. ! Pending Enhancements
  9. ! - I've yet to come up with something useful to do with this script.  A
  10. !   HOSTILE character is moved by the driver towards the player's party
  11. !   and attacks if they can get to a block adjacent to the party.
  12. !
  13. !   I guess you could check the distance from the hostile character to
  14. !   the player and attack if it's within the range of the hostile's
  15. !   weapon range.
  16. !
  17.  
  18. !------------------------------------------------------------------------!
  19. :@TALK ! Talk to the character !
  20. !------------------------------------------------------------------------!
  21.  
  22.   writeln( "Don't talk! Fight or Run!" );
  23.   CONTINUE;
  24.